// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.


using System.Threading.Tasks;

namespace Duende.IdentityServer.Validation
{
    /// <summary>
    /// The backchannel authentication request id validator
    /// </summary>
    public interface IBackchannelAuthenticationRequestIdValidator
    {
        /// <summary>
        /// Validates the authentication request id.
        /// </summary>
        /// <param name="context">The context.</param>
        /// <returns></returns>
        Task ValidateAsync(BackchannelAuthenticationRequestIdValidationContext context);
    }
}